package com.smartum.mpr.model;

import java.util.Set;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;

public class State extends Identify {

	private static final long serialVersionUID = 1L;

	@JsonIgnore
	private Set<County> counties;

	@JsonProperty("state_name")
	private String stateName;

	@JsonProperty("state_code")
	private String stateCode;

	public String getStateCode() {
		return stateCode;
	}

	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public Set<County> getCounties() {
		return counties;
	}

	public void setCounties(Set<County> counties) {
		this.counties = counties;
	}

	@JsonProperty("state_id")
	@Override
	public Long getId() {
		return super.getId();
	}

	@JsonProperty("state_id")
	@Override
	public void setId(Long id) {
		super.setId(id);
	}

}
